-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use system Puppet in CI #942
base: develop
Are you sure you want to change the base?
Conversation
5e1c964
to
926140f
Compare
This uses the official Puppet AIO packages, which is also what we use in production. This makes the tests more realistic.
926140f
to
8ee2f91
Compare
run: | | ||
. /etc/os-release | ||
wget "https://apt.puppet.com/puppet${{ matrix.puppet }}-release-${VERSION_CODENAME}.deb" | ||
sudo apt install "${PWD}/puppet${{ matrix.puppet }}-release-${VERSION_CODENAME}.deb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to do ./puppet...., apt refuses local installs from things that don't look like paths
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's why I added ${PWD}
. I guess ./
would have also worked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah yes, the race between typing a comment on mobile and forgetting to hit send and you pushing more changes :)
I think librarian isn't friendly with the AIO Puppet: |
As I wrote somewhere else: I'm leaning to adding a step that builds the modules as separate from the others. Then store it in a cache and reuse it in the other axes. |
This uses the official Puppet AIO packages, which is also what we use in production. This makes the tests more realistic.
Currently just testing out if this even works.